package com.ai.bitcoin.service;

import com.ai.bitcoin.bo.PayRequest;
import com.ai.bitcoin.output.GeneralReponse;
import com.ai.bitcoin.service.helper.WeiXinPayServiceHelper.WeixinCallBackResult;
import org.springframework.web.context.request.async.DeferredResult;

public interface PayService {
    GeneralReponse prePay(PayRequest payRequest);

    String callBackWeiXinPay(WeixinCallBackResult weixinCallBackResult);

    void isPay(String orderCode, String symbol, DeferredResult<String> deferredResult);
}
